- Title: pwnKit
- Description: Privilege escalation in Unix-like operating systems
- AUTHOR: drapl0n
- Version: 1.0
- Category: Privilege Escalation
- Target: Unix-like operating systems
- Attackmodes: HID
pwnKit is Privilege Escalation USB-Rubber-Ducky payload, which exploits CVE-2021-4034 in less than 10sec's and spawns root shell for you.
- Shoutout to https://github.com/berdav for exploit.
- Only for educational purpose.
- Online: payload.txt(requires internet connection on victims machine).
- Offline: payload2.txt(don't require internet connection on victims machine).
- Stop storing history, this helps to keep tracks clear from begining.
- Creating temporary folder for storing exploit code and compiling it.
- Importing, compiling and executing exploit.
- Spawning root shell.
- Deleting exploit code and clearing tracks.